package com.zige.zige.pojo;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

public class YesterdayVideoInfo implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 1240230772103221653L;
	private String  id;
//[{"id":404,"publishTime":1443254958000,"videoName":null,"playUrlList":
//	[{"playUrl":"http://1359.vod.myqcloud.com/1359_e909d76a642511e5b8a2951ae41f1719.f0.mp4",
//"definition":0,"vbitrate":0,"vheight":0,"vwidth":0}],
//"videoPicUrl":"http://7xkpsq.com2.z0.glb.qiniucdn.com/4a40c0efc09641b1ac767e0594a759b5-1443254962156-thum","videoDesc":"","videoTime":10,
//"videoTypeId":3,"videoTypeName":"大伴马","matchFlag":null},{"id":403,"publishTime":1443254781000,"videoName":null,"playUrlList":[{"playUrl":"http://1359.vod.myqcloud.com/1359_6f72e928642511e5b8a2951ae41f1719.f0.mp4","definition":0,"vbitrate":0,"vheight":0,"vwidth":0}],"videoPicUrl":"http://7xkpsq.com2.z0.glb.qiniucdn.com/bd52b09838a645a1b0a4414403bc4a51-1443254758274-thum","videoDesc":"","videoTime":10,"videoTypeId":3,"videoTypeName":"大伴马","matchFlag":null},{"id":402,"publishTime":1443254510000,"videoName":null,"playUrlList":[{"playUrl":"http://1359.vod.myqcloud.com/1359_ddf8245e642411e5b8a2951ae41f1719.f0.mp4","definition":0,"vbitrate":0,"vheight":0,"vwidth":0}],"videoPicUrl":"http://7xkpsq.com2.z0.glb.qiniucdn.com/aaa8eaaaca5948828efd6a1659f3988b-1443254513836-thum","videoDesc":"","videoTime":10,"videoTypeId":3,"videoTypeName":"大伴马","matchFlag":null},{"id":401,"publishTime":1443253060000,"videoName":null,"playUrlList":[{"playUrl":"http://1359.vod.myqcloud.com/1359_7a201336642111e5a518dd3799f3378c.f0.mp4","definition":0,"vbitrate":0,"vheight":0,"vwidth":0}],"videoPicUrl":"http://7xkpsq.com2.z0.glb.qiniucdn.com/3e32d18ca7aa42da934356cba008045d-1443253055804-thum","videoDesc":"","videoTime":10,"videoTypeId":3,"videoTypeName":"大伴马","matchFlag":null},{"id":392,"publishTime":1443117634000,"videoName":null,"playUrlList":[{"playUrl":"http://1359.vod.myqcloud.com/1359_2b0c685862e611e5964cef0199b9c7b9.f0.mp4","definition":0,"vbitrate":0,"vheight":0,"vwidth":0}],"videoPicUrl":"http://7xkpsq.com2.z0.glb.qiniucdn.com/dcec676c9d2c48f4b87f5896b6ae430c-1443117632845-thum","videoDesc":"","videoTime":10,"videoTypeId":3,"videoTypeName":"大伴马","matchFlag":null},{"id":391,"publishTime":1443117320000,"videoName":null,"playUrlList":[{"playUrl":"http://1359.vod.myqcloud.com/1359_6f9e520262e511e599f4f7f20fe5a35d.f0.mp4","definition":0,"vbitrate":0,"vheight":0,"vwidth":0}],"videoPicUrl":"http://7xkpsq.com2.z0.glb.qiniucdn.com/108f2747e58647f39791b4aa3418b012-1443117318991-thum","videoDesc":"","videoTime":10,"videoTypeId":3,"videoTypeName":"大伴马","matchFlag":null}]}
	private int type;
	/************活动*****************/
	private String activityName;
	private int activityType;
	private String picUrl;
	private String pageUrl;

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public int getActivityType() {
		return activityType;
	}

	public void setActivityType(int activityType) {
		this.activityType = activityType;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	/************视频*****************/
	private String videoName;
	private String videoPicUrl;
	LinkedList<PlayUrl> playUrlList;
	private String videoUrl;
	private String videoDesc;
	private int videoTime;
	private int videoTypeId;
	private String videoTypeName;
	private PlayUrl defult;
	private long publishTime;
	private String matchFlag;
	private String themeVoiceUrl;
	private String praiseUserids;

	public String getThemeVoiceUrl() {
		return themeVoiceUrl;
	}

	public void setThemeVoiceUrl(String themeVoiceUrl) {
		this.themeVoiceUrl = themeVoiceUrl;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	/** 0:活动 1:视频*/
	public int getType() {
		return type;
	}
	/** 0:活动 1:视频*/
	public void setType(int type) {
		this.type = type;
	}
	public String getMatchFlag() {
		return matchFlag;
	}

	public void setMatchFlag(String matchFlag) {
		this.matchFlag = matchFlag;
	}

	public long getPublishTime() {
		return publishTime;
	}

	public void setPublishTime(long publishTime) {
		this.publishTime = publishTime;
	}

	public PlayUrl getDefult() {
		return defult;
	}

	public void setDefult(PlayUrl defult) {
		this.defult = defult;
	}

	public YesterdayVideoInfo() {
		super();
	}

	public YesterdayVideoInfo(String videoName, String videoPicUrl, LinkedList<PlayUrl> playUrlList, String videoDesc,
							  int videoTime, int videoTypeId, String videoTypeName, String praiseUserids) {
		super();
		this.videoName = videoName;
		this.videoPicUrl = videoPicUrl;
		this.playUrlList = playUrlList;
		this.videoDesc = videoDesc;
		this.videoTime = videoTime;
		this.videoTypeId = videoTypeId;
		this.videoTypeName = videoTypeName;
		this.praiseUserids = praiseUserids;

	}

	public String getVideoName() {
		return videoName;
	}

	public void setVideoName(String videoName) {
		this.videoName = videoName;
	}

	public String getVideoPicUrl() {
		return videoPicUrl;
	}

	public void setVideoPicUrl(String videoPicUrl) {
		this.videoPicUrl = videoPicUrl;
	}

	public List<PlayUrl> getPlayUrlList() {
		return playUrlList;
	}

	public void setPlayUrlList(LinkedList<PlayUrl> playUrlList) {
		this.playUrlList = playUrlList;
	}

	public String getVideoDesc() {
		return videoDesc;
	}
	public void setVideoDesc(String videoDesc) {
		this.videoDesc = videoDesc;
	}

	public String getVideoUrl() {
		return videoUrl;
	}

	public void setVideoUrl(String videoUrl) {
		this.videoUrl = videoUrl;
	}
	public int getVideoTime() {
		return videoTime;
	}

	public void setVideoTime(int videoTime) {
		this.videoTime = videoTime;
	}

	public int getVideoTypeId() {
		return videoTypeId;
	}

	public void setVideoTypeId(int videoTypeId) {
		this.videoTypeId = videoTypeId;
	}

	public String getVideoTypeName() {
		return videoTypeName;
	}

	public void setVideoTypeName(String videoTypeName) {
		this.videoTypeName = videoTypeName;
	}

	public String getpraiseUserids() {
		return praiseUserids;
	}

	public void setpraiseUserids(String praiseUserids) {
		this.praiseUserids = praiseUserids;

	}



	@Override
	public boolean equals(Object o) {
		if (o == null)
			return false;
		if (o instanceof YesterdayVideoInfo) {
			if (((YesterdayVideoInfo) o).getId() == this.getId())
				return true;
			else
				return false;
		} else
			return super.equals(o);
	}

}
